package pos.entity;
/**
 * Category is the entity object of Category table
 * @author rsrikanth
 */
public class Category {
    
    private int categoryId;
    private int parentCategoryId;
    private String description;
    
    private String name;

    /**
     * Returns the categoryid
     * @return 
     */
    public int getCategoryId() {
        return categoryId;
    }

    /**
     * Sets the category id
     * @param categoryId 
     */
    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * Returns the description
     * @return 
     */
    public String getDescription() {
        return description;
    }

    /**
     * Sets the description
     * @param description 
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * Returns the Name of the category
     * @return 
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the name
     * @param name 
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Returns the Parent category Id
     * @return 
     */
    public int getParentCategoryId() {
        return parentCategoryId;
    }

    /**
     * Sets the parent id
     * @param parentCategoryId 
     */
    public void setParentCategoryId(int parentCategoryId) {
        this.parentCategoryId = parentCategoryId;
    }
}
